%% -*- erlang -*-
{erl_opts,
 [debug_info,warn_unused_vars,warn_shadow_vars,warn_unused_import,
  warn_obsolete_guard,warnings_as_errors]}.

{ct_opts,
 [{enable_builtin_hooks, false}]}.
%{ct_readable, false}.

{minimum_otp_vsn, "21.0"}.

{eunit_opts,
 [verbose]}.

{deps, []}.

{profiles,
 [ {test,
    [{deps, [ {proper, "1.3.0"}
            ]}]}
 , {dev,
    [{plugins, [rebar3_hex, rebar3_ex_doc]}]}
 , {concuerror,
    [{erl_opts, [ {d, 'CONCUERROR'}
                ]}]}
 ]}.

{xref_checks,[undefined_function_calls,
              undefined_functions,
              locals_not_used,
              deprecated_function_calls,
              warnings_as_errors,
              deprecated_functions]}.

{cover_enabled, true}.

{ex_doc, [
     {extras, [ <<"README.md">>
              , <<"doc/src/emitting_events.md">>
              , <<"doc/src/running.md">>
              , <<"doc/src/waiting_events.md">>
              , <<"doc/src/offline_analysis.md">>
              , <<"doc/src/fault_injection.md">>
              , <<"doc/src/scheduling_injection.md">>
              , <<"CHANGELOG.md">>
              , <<"LICENSE">>
              ]},
     {main, <<"readme">>},
     {source_url, <<"https://github.com/kafka4beam/snabbkaffe">>}
]}.
